package com.willcode.demo.orm.hibernate.entity;


import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Will
 */
@Entity
@Data
@Table(name = "userrelation")
public class UserRelation {
    @Id
    private String id;
    private String parentid;
    private String name;
    private String relation;
}
